﻿using System;

namespace HashFoo.MigratorFoo
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public class DbConfigurationAttribute : Attribute
    {
        public string Name { get; private set; }
        public bool IsDefault { get; private set; }

        public DbConfigurationAttribute(string name = null, bool isDefault = false)
        {
            Name = name;
            IsDefault = isDefault;
        }
    }
}
